//
//  MovieDataModel.m
//  YHYRealx
//
//  Created by yanghuiyan on 16/4/21.
//  Copyright © 2016年 yanghuiyan. All rights reserved.
//

#import "MovieDataModel.h"

@implementation MovieDataModel

- (void)dealloc {
    
    [_title release];
    [_content release];
    [_input_date release];
    [_story_type release];
    [_userNew release];
    [_user_name release];
    [_web_url release];
    
    [super dealloc];
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
    if ([key isEqualToString:@"user"]) {
        
        self.userNew = [[MovieUserModel alloc] initWithDataSource:value];
        
    }
    
}

@end


